//--------------------------------------------------------------------------------
// This file is a portion of the PracticeEngine Rendering Engine.  It is distributed
// under the MIT License, available in the root of this distribution and 
// at the following URL:
//
// http://www.opensource.org/licenses/mit-license.php
//
// Copyright (c) Ferdinand Li 
//--------------------------------------------------------------------------------

#ifndef Logger_h__
#define Logger_h__

#include "PCH.h"
#include <stdio.h>
namespace PracEng
{

#define PracEngLog(X) ( \
	Logger::Log<std::wstring>(std::wstring(X)) \
	);

#define PracEngLogf(...) ( \
	printf(__VA_ARGS__) \
	);

	class Logger
	{
	public:
		Logger();
		~Logger();

		template<typename T>
		static void Log(T msg)
		{
			std::wcout << msg << std::endl;
		}
	};
}

#endif // Logger_h__